package com.example.crossborderecommerce.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * 汇率
 *
 * @author Yolanda
 * @since 2024-05-09
 */
@Data
@Accessors(chain = true)
@TableName("currency")
public class Currency implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("name_before")
    private String nameBefore;

    @TableField("short_name_before")
    private String shortNameBefore;

    @TableField("exchange_rate")
    private Double exchangeRate;

    @TableField("name_after")
    private String nameAfter;

    @TableField("short_name_after")
    private String shortNameAfter;


}
